<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ page import="pku.ss.news.model.*"%>
<%
	User user = (User) request.getSession().getAttribute("user");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>MyNews--个人信息</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	--><style type="text/css">
	
	
	#header {
	width: 970px;
	height: 140px;
	margin: auto;
	
	background: url(images/img02.gif);
	}

#header h1, #header p {
	margin: 0;
	
	
}

#header h1 {
	float:left;
	font-weight:bold;
	color:#9966FF;
	padding: 58px 0 0 30px;
	text-transform:capitalize;
	line-height: 72px;
	font-size: 60px;
	font-family:"Courier New", Courier, monospace;
}

#header p {
	float: right;
	padding: 102px 0 0 0;
	text-transform: uppercase;
	font: bold 15px "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#9966FF;
}

#header p a {
	font-size: 167%;
}

#header a {
	border: none;
	color: #000000;
}



#menu {
	width: 960px;
	margin: -22px auto 20px 150px;
	padding: 1px 0px 0px 0px;
	border-bottom: 5px solid ;
	border-bottom-color:#9966FF;
}

#menu ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	text-align: right;
}

#menu li {
	display: inline;
}

#menu a {
	padding: 0px 10px 0px;
	border: 2px dotted;
	border-bottom-style:hidden;
	border-bottom-color:#9966FF;
	background-color: #FAFAFA;
	text-decoration: none;
	font-weight: bold;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

#menu a:hover {
	background-color:orange;
	color: #FFFFFF;
}
		form{
margin-top:50px;
margin-left:280px;
}
p{
color:#FF6600;
margin-top:10px;
margin-left:150px;
border:dotted #FF6600 3px;
width:380px;
}
.submit input
{
margin-left: 4.5em;
} 
select
{
color: #781351;
background: #fee3ad;
border: 1px solid #781351
}
a{
color:#330066;
text-decoration:none;
}
a:hover{background:#663399;
color:#FFFFFF;}
input.submit
{
color: #ffffff;
background:#FF9900;
border: 1px outset #d7b9c9;
font-size:15px;
width:100px;
} 
fieldset
{
border: 1px solid #781351;
width: 550px;
}
input
{
color:#000000;
background: #ECF1F6;
border: 0px solid #781351
}

legend
{
color: #fff;
background:#FF9900;
border: 2px solid;
padding: 2px 6px;
}
#footer {
	clear: both;
	width: 892px;
	margin: 100px auto 0 auto;
	padding: 30px 0;
	background: url(images/img20.gif) repeat-x;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}

#footer h3 {
	margin: 0;
	text-align: center;
	text-transform: lowercase;
	color:#9966FF;
	font-size:18px;

}
#footer a{
	color:#669900;
	text-decoration: none;
	font-family:Arial, Helvetica, sans-serif;
	}
#footer a:hover {
	color:white;
}


</style>

	</head>

	<body>
	<div id="header">
	<h1>my NEWS</h1>
</div>

<div id="menu">
	<ul>
		<li><a href="home.do" accesskey="1" title="">我的首页</a></li>
		<li><a href="catagory.do" accesskey="2" title="">分类新闻</a></li>
		<li><a href="subscription.do" accesskey="3" title="">我的订阅</a></li>
		<li><a href="share.do" accesskey="4" title="">我的分享</a></li>
		<li><a href="logout.do" accesskey="5" title="">登出</a></li>
	</ul>
</div>
<P>需要修改密码吗？点击这里<a href='updatePassword.jsp'>修改密码</a>点击这里<a href='logout.do'>登出</a></P>
		<FORM action="updateUserInfo.do" method=post name="form1">
		
		<fieldset>
		<legend>用户个人信息</legend>
		  <TABLE border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#669933">
				<TBODY>
				<div id="user">
					<TR >
					
						<TD height="31" align=right bgcolor="#ECF1F6">
							用户名：						</TD>
						<TD colspan="5" bgcolor="#ECF1F6">
							<%=user.getUserId()%>						</TD>
					</TR>
		 	  </div>

				
					<TR>
						<TD width="95" height="40" align=right bgcolor="#FFFFee">
							年龄：						</TD>
						<TD colspan="5" bgcolor="#FFFFEE"><select name="age" style="width:140">
                          <option value="" selected="selected"></option>
                          <option value="15">15岁以下</option>
                          <option value="20">15-20岁</option>
                          <option value="25">20-25岁</option>
                          <option value="30">25-30岁</option>
                          <option value="35">30-35岁</option>
                          <option value="40">35-40岁</option>
                          <option value="45">40-45岁</option>
                          <option value="50">50岁以上</option>
                        </select></TD>
					</TR>
					<TR>
						<TD height="35" align=right bgcolor="ECF1F6">
							性别：						</TD>
						<TD colspan="5" bgcolor="#ECF1F6">
							<input type="radio" checked="checked" value="男" name="sex">
							男&nbsp;
							<input type="radio" value="女" name="sex">
					  女						</TD>
					</TR>
					<TR>
						<TD height="41" align=right bgcolor="#FFFFEE">
							职业：						</TD>
						<TD colspan="5" bgcolor="#FFFFEE" >
							<select name="field" style="width:140"> 
							<option value="广告／公关">广告/公关</option> 
							<option value="新闻媒体">新闻媒体</option> 
							<option value="商业服务">商业服务</option> 
							<option value="生活服务">生活服务</option> 
							<option value="社会团体">社会团体</option> 
							<option value="娱乐／影视">娱乐/影视</option> 
							<option value="公务员">公务员</option> 
							<option value="农林渔">农林渔</option> 
							<option value="法律／咨询">法律/咨询</option> 
							<option value="旅游业">旅游业</option> 
							<option value="ＩＴ业">ＩＴ业</option> 
							<option value="通讯业">通讯业</option> 
							<option value="运动／休闲">运动/休闲</option> 
							<option value="制造业">制造业</option> 
							<option value="医护人员">医护人员</option> 
							<option value="教育行业">教育行业</option> 
							<option value="自由职业">自由职业</option> 
							<option value="其它行业">其它行业</option> 
							<option value="" selected="selected">请选择行业</option> 
					  </select>						</TD>
					</TR>
				
					<TR>
					  <TD rowspan="5" align=right valign="middle" bgcolor="#ECF1F6"> 兴趣： </TD>
                      <TD width="79" align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox"  value="财经" name="interests2">
财经</TD>
				      <TD width="78" align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="社会" name="interests3">
社会</TD>
				      <TD width="78" align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="IT" name="interests4">
IT </TD>
				      <TD width="78" align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="文化" name="interests5">
文化 </TD>
				      <TD width="114" align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="体育" name="interests6">
体育</TD>
				  </TR>
					<TR>
					  <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="娱乐" name="interests7">
娱乐</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="美食" name="interests8">
美食</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="旅游" name="interests9">
旅游 </TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="股票" name="interests10">
股票</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="房产" name="interests11">
房产</TD>
				  </TR>
					<TR>
					  <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="汽车" name="interests12">
汽车 </TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="军事" name="interests13">
军事</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="教育" name="interests14">
教育</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="育儿" name="interests15">
育儿 </TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="杂谈" name="interests16">
	杂谈</TD>
				  </TR>
					<TR>
					  <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="游戏" name="interests17">
游戏</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="星座" name="interests18">
星座</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="时尚" name="interests19">
时尚 </TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="健康" name="interests20">
健康</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="休闲" name="interests21">
休闲 </TD>
				  </TR>
					<TR>
					  <TD height="33" align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="情感" name="interests22">
情感</TD>
				      <TD align="left" valign="middle" bgcolor="#ECF1F6"><input type="checkbox" value="校园" name="interests">
校园 </TD>
				      <TD colspan="3" align="left" valign="middle" bgcolor="#ECF1F6">&nbsp;</TD>
			      </TR>
		

					<TR>
					  <TD height="41" align=right bgcolor="#FFFFEE">&nbsp;</TD>
					  <TD colspan="5" bgcolor="#FFFFEE"><input type="submit" name="submit" value="提&nbsp;&nbsp;&nbsp;交" 
					class="submit"></TD>
				  </TR>
				</TBODY>
	    </TABLE>
			
			
			
		  </fieldset>
		</FORM>
		
	<div id="footer">
	<h3>Copyright (c) 2009 All Rights Reserved. Design by <a href="http://www.ss.pku.edu.cn/">北京大学</a>.</h3>
</div>
	</body>
</html>